package com.feeling.oafeeling.mapper;

import com.feeling.oafeeling.pojo.SysInstitution;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysInstitutionMapper {
    List<SysInstitution> selectAll(SysInstitution institution);

    void upDataInstitution(SysInstitution sysInstitution);
    List<SysInstitution> selectAll();

    List<SysInstitution> getInstitutionByPage(Integer currentPage, Integer pageSize);

    void addInstitutionTree(SysInstitution sysInstitution);

    SysInstitution selectOne(SysInstitution sysInstitution);

}
